/**
 * Copyright [2019] [LiBo/Alex of copyright liboware@gmail.com ]
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.hyts.infodb.data.bean.po;

import com.hyts.infodb.bean.po.LongPO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @project-name:infodb
 * @package-name:com.hyts.infodb.data.bean.po
 * @author:LiBo/Alex
 * @create-date:2019-10-15 21:52
 * @copyright:libo-alex4java
 * @email:liboware@gmail.com
 * @description:
 */
@EqualsAndHashCode(callSuper=false)
@Entity
@Table(name="TBL_DATA_SERVER_ITEM")
@Data
public class DataServerItemPO extends LongPO {


    @Column(name="DATA_SERVER_TYPE_ID")
    private Long dataServerTypeId;

    @Column(name="DATA_SERVER_PROVIDER_ID")
    private Long dataServerProviderId;

    @Column(name="DATA_SERVER_URL")
    private String serverUrl;
    /**
     * 数据服务Path未来对接网关，需要配置全路径即可实现
     */
    @Column(name="DATA_SERVER_PATH")
    private String serverPath;

    /**
     * returnTypes服务返回类型
     */
    @Column(name="RETURN_TYPES")
    private String returnTypes;

    /**
     * 请求协议类型
     */
    @Column(name="PROTOCOL_TYPE")
    private String protocolType;

    /**
     * 请求方法
     */
    @Column(name="REQUEST_METHOD")
    private String requestMethod;

}
